package com.fengwk.user.face.client.hystrix;

import org.springframework.stereotype.Component;

import com.fengwk.support.exception.BaseException;
import com.fengwk.user.face.client.RegisterClient;
import com.fengwk.user.face.model.User;

@Component
public class RegisterClientHystrix implements RegisterClient {

    @Override
    public User register(Long avatarId, String username, String email, String mobilePhone, String password,
            String nickname, String realName, String idCard, Integer sex, Long birthTime) {
        throw new BaseException("注册异常");
    }

}
